﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace eSYSU.Web.Entity
{
	/// <summary>
	/// 文章评论模型类
	/// </summary>
	[Serializable]
	public class Comments
	{
		public Comments()
		{
		}
		

		/// <summary>
		/// 评论编号
		/// </summary>
		public Int32 Id
		{
			set { _id = value; }
			get { return _id; }
		} private Int32 _id;

		/// <summary>
		/// 文章编号
		/// </summary>
		public Int32 ArticleId
		{
			get { return _articleId; }
			set { _articleId = value; }
		} private Int32 _articleId;

		/// <summary>
		/// 评论标题
		/// </summary>
		public String Title
		{
			get { return _title; }
			set { _title = value; }
		} private String _title;

		/// <summary>
		/// 评论人Id
		/// </summary>
		public Int32 UserId
		{
			get { return _userId; }
			set { _userId = value; }
		} private Int32 _userId;

		/// <summary>
		/// 评论人
		/// </summary>
		public String UserName
		{
			set { _userName = value; }
			get { return _userName; }
		} private String _userName;

		/// <summary>
		/// 评论内容
		/// </summary>
		public String Comment
		{
			set { _comment = value; }
			get { return _comment; }
		} private String _comment;

		/// <summary>
		/// 评论发表时间
		/// </summary>
		public DateTime PostTime
		{
			set { _postTime = value; }
			get { return _postTime; }
		} private DateTime _postTime;

		/// <summary>
		/// IP地址
		/// </summary>
		public String IP
		{
			get { return _ip; }
			set { _ip = value; }
		} private String _ip;
	}
}